package day15_Thread.demo02_Thread;

//void SetName(String name):将线程的名称设置为name

public class Test {
    public static void main(String[] args) {
        MyThread zs = new MyThread();
        MyThread ls = new MyThread();
        zs.setName("张三三");
        ls.setName("李四四");
        zs.start();
        ls.start();
    }
}
